export default defineEventHandler(async () => {
  const response = await $fetch(
    "https://fc-mp-dcc57d1b-9703-4fa7-bf3e-a2bebe5587bd.next.bspapp.com/MysiteNews/get",
    {
      method: "GET",
    }
  );
  if (response.errCode === 0) {
    return response.data;
  } else {
    return response;
  }
});
